﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcademicPlanner.Framework.Libraries.Auth
{
	public struct AuthenticationResult
	{
		internal bool authentic;
		internal string userIdentifier;

		public bool IsAuthentic { get { return authentic; } }
		public string UserIdentifier { get { return userIdentifier; } }
	}

	public interface IAuthenticator
	{
		AuthenticationResult Authenticate(string pUser, string pPassword);

		AuthenticationResult Authenticate(string pUser);
	}
}
